<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'actresult.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">

<script>
function doLoad()
{
    <s:if test="actResult ==0">
    	//如果操作成功
    	alert('<s:property value="message"/>');
        location.href =	"/cms/cms/customer/doQuery.do";
    </s:if>
    <s:if test="actResult ==1">
        //如果操作失败
        alert('<s:property value="message"/>');
      
    </s:if>
}
</script>
</head>
<body onLoad="doLoad();">
</body>

</html>
